using System;
using System.Text;
using System.Reflection;
using System.ServiceModel;
using System.Collections.Generic;
using System.Runtime.Serialization;
using TDS = Tridion.ContentManager.Interop.TDS;
using TDSDefines = Tridion.ContentManager.Interop.TDSDefines;



#pragma warning disable 649
namespace Tridion.Gateway
{
	[DataContract]
	public class ProcessDefinition:Facade
	{
        internal ProcessDefinition(TDS.ProcessDefinition ProcessDefinition, bool ShallowCopy)
            : base(typeof(TDS._ProcessDefinition), ProcessDefinition, ShallowCopy)
		{
		}

		[DataMember(Name="ItemType")]
		private TDSDefines.ItemType itemtype;
		public TDSDefines.ItemType ItemType
		{
			 get { return itemtype; }
		}


		[DataMember(Name="ID")]
		private String id;
		public String ID
		{
			 get { return id; }
		}


		[DataMember(Name="Info")]
		private Info info;
		public Info Info
		{
			 get { return info; }
		}


		[DataMember(Name="Title")]
		private String title;
		public String Title
		{
			 get { return title; }
		}


		[DataMember(Name="StoreSnapshot")]
		private Boolean storesnapshot;
		public Boolean StoreSnapshot
		{
			 get { return storesnapshot; }
		}


        [DataMember(Name = "Publication")]
        private PublicationURI publication;
        public PublicationURI Publication
        {
            get { return publication; }
        }


		[DataMember(Name="FirstActivityDefinition")]
		private ActivityDefinition firstactivitydefinition;
		public ActivityDefinition FirstActivityDefinition
		{
			 get { return firstactivitydefinition; }
		}


        //TODO:Fix
        //[DataMember(Name="ActivityDefinitions")]
        //private ActivityDefinitions activitydefinitions;
        //public ActivityDefinitions ActivityDefinitions
        //{
        //     get { return activitydefinitions; }
        //}

        
        //TODO:Fix
        //[DataMember(Name="OrganizationalItem")]
        //private Object organizationalitem;
        //public Object OrganizationalItem
        //{
        //     get { return organizationalitem; }
        //}


        protected override void Initialize(FieldInfo field, PropertyInfo property, Object value)
        {

        }

	}
}

/*
			System.String GetXML(Tridion.ContentManager.Interop.TDSDefines.XMLReadFilter)
			Void UpdateXML(System.String)
			Void Save(Boolean)
			Void Delete()
			Void Localize()
			Void UnLocalize()
*/
